﻿using System.Collections.Generic;
using Cms.Domain;

namespace Cms.Application.Admin.Views
{
    public interface IEditSiteView : IAdminPageView, ITranslatable
    {
        int SiteID { get; }

        string Domain { get; set; }

        string DefaultLocaleName { get; set; }

        string DefaultLocaleRegion { get; set; }

        string DefaultLocaleLanguage { get; set; }

        string DefaultLocaleCode { get; set; }

        string RootMediaFolder { get; set; }

        bool Online { get; set; }

        int SelectedLocaleID { get; set; }

        int SelectedMasterTemplateID { get; set; }

        int SelectedDetailTemplateID { get; set; }
        void SetLocales(IList<Locale> locales);
        void SetMasterTemplates(IList<MasterTemplate> masterTemplates);
        void SetDetailTemplates(IList<DetailTemplate> detailTemplates);

        void SetAdministrators(IList<Administrator> administrators);

        IEnumerable<int> GetSelectedAdministratorIDs();
    }
}